package pe.com.empresa.datos.dao;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import pe.com.empresa.datos.dominio.PersonaNatural;
import pe.com.empresa.datos.dominio.PersonaNaturalExample;

public interface PersonaNaturalMapper {
    int countByExample(PersonaNaturalExample example);

    int deleteByExample(PersonaNaturalExample example);

    int deleteByPrimaryKey(Integer idPersona);

    int insert(PersonaNatural record);

    int insertSelective(PersonaNatural record);

    List<PersonaNatural> selectByExample(PersonaNaturalExample example);

    PersonaNatural selectByPrimaryKey(Integer idPersona);

    int updateByExampleSelective(@Param("record") PersonaNatural record, @Param("example") PersonaNaturalExample example);

    int updateByExample(@Param("record") PersonaNatural record, @Param("example") PersonaNaturalExample example);

    int updateByPrimaryKeySelective(PersonaNatural record);

    int updateByPrimaryKey(PersonaNatural record);
}